package main

import "fmt"

func main() {
	go person3()
	go person4()
	for {
		;
	}
}

var ch1 = make(chan int)

func printer(s string) {
	for _, v := range s {
		fmt.Printf("%c", v)
	}
}

func person3() {
	printer("hello")
	ch1 <- 8
}

func person4() {
	<-ch1
	printer("world")
}
